<%--
  Created by IntelliJ IDEA.
  User: Xiaoqz
  Date: 2021/8/31
  Time: 21:41
  To change this template use File | Settings | File Templates.
--%>
<%--isELIgnored: 忽视EL表达式--%>
<%--@ page contentType="text/html;charset=UTF-8" language="java" --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--引入JSTL标签库--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:if test="${flag == true}">true...</c:if>
<c:if test="${flag == false}">false...</c:if>

<c:forEach begin="0" end="10" step="1">${i}</c:forEach>

<c:forEach items="${list}" var="str" varStatus="status">
    ${status.count}<%--1 2 3 4 5...--%>
    ${status.index}<%--0 1 2 3 4...--%>
    ${str}<%--张三 李四 王五 ...--%>
</c:forEach>
</body>
</html>
